package com.huijinhui.wlmtsys.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 项目信息表实体类
 */
@Data
@TableName("project")
public class WlmtsysProject implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Schema(title = "项目ID", description = "项目信息表的唯一标识")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 项目标题
     */
    @Schema(title = "标题", description = "项目的标题")
    @TableField("title")
    private String title;

    /**
     * 项目内容
     */
    @Schema(title = "内容", description = "项目的详细描述")
    @TableField("content")
    private String content;

    /**
     * 项目图片
     */
    @Schema(title = "图片", description = "项目相关的图片链接")
    @TableField("image")
    private String image;

    @Schema(title = "createTime",description = "创建时间",required = false)
    @TableField("create_time")
    private LocalDateTime createTime;
    // Lombok的@Data注解已经包含了getter和setter方法
}